/*******************************************************************************
 * @file si705x.h
 * @brief Siliconlabs - SI705x sensor driver.
 *
 * @version 1.0.0
 *******************************************************************************
 * @license Refer License or other description Docs
 * @author  Felix
 ******************************************************************************/
#ifndef SENSOR_SI705X_H
#define SENSOR_SI705X_H

#include <stdint.h>
#include <stdbool.h>
#include <string.h>


typedef enum {
    SI705X_MASTER_H     = 0xE3, /* measurement hold */
    SI705X_MASTER_N     = 0xF3, /* measurement no hold */
    SI705X_SOFT_RESET   = 0xFE, /*  */
    SI705X_WRTIE_REG    = 0xE6, /*  */
    SI705X_READ_REG     = 0xE7, /*  */
    SI705X_READ_ID1     = 0xFA0F,
    SI705X_READ_ID2     = 0xFCC9,
    SI705X_READ_VER     = 0x84B8
} SI705xCommand;

bool si705x_fw_rev(uint8_t *ver);

bool si705x_devid(uint8_t devid[8]);

#endif

